package com.mms.service;

import static org.junit.Assert.*;

import java.util.List;
import java.util.Map;

import org.junit.Test;

public class StatisticsServiceImplTest {

	StatisticsServiceImpl svc = new StatisticsServiceImpl();
	
	@Test
	public void testSalesFunnel() {
		List<Map<String, Object>> list = this.svc.salesFunnel("becky", null, null);
		for (Map<String, Object> map : list) {
			System.out.println(map);
		}
	}

	@Test
	public void testConversionRate() {
		Map<String, String> conversionRate = this.svc.conversionRate("becky", null, null);
		System.out.println(conversionRate);
	}

	@Test
	public void testDealTrend() {
		List<Map<String, Object>> list = this.svc.dealTrend("becky", null, null);
		System.out.println(list);
	}

}
